\input ../../default-cn-cfg.mkvi
\setupcaption[table][
location=top,
suffixseparator=-,
suffix=,　%suffix=\floatcaptionsuffix
]

\define[1]\showSubtblcaptext{#1~\floatuserdataparameter{subtableCaption}} %不显示题注文本内容

\setupfloatsplitting[
%
inbetween={
\setuplabeltext[table={续表~},]
\setupcaption[table][align=flushleft,textcommand={\showSubtblcaptext}]
},
%
lines=10, %特别注意： 对于表格，lines参数无效。
conversion=a]

\starttext
\showframe % 调试观察效果时可添加这个指令
 
\dorecurse{2}{ \input ../../hetangyuese/htys01.mkvi}
\startplacefloat[table][title=多文本行表格,location={here,split}]
  [subtableCaption=子表标题]　% 子表标题文字内容
  \startxtable[textwidth=13cm,
    option=stretch,
    align=middle,
    foregroundstyle=\rm\tfx,
    split=auto,
  splitoffset=10mm]
    \dorecurse{90}{
    \startxrow
      \startxcell  行\low{\recurselevel}格1
      \stopxcell
      \startxcell  行\low{\recurselevel}格2
      \stopxcell
      \startxcell  行\low{\recurselevel}格3
      \stopxcell
      \startxcell  \floatuserdataparameter{subtableCaption} 行\low{\recurselevel}格4
      \stopxcell
    \stopxrow
  }  
  \stopxtable
  
\stopplacefloat

\startplacefloat[table][title=多文本行表格,location={here}]
  \startxtable[textwidth=13cm,
    option=stretch,
    align=middle,
    foregroundstyle=\rm\tfx,
    split=no,
  splitoffset=0mm]
    \dorecurse{90}{
    \startxrow
      \startxcell  行\low{\recurselevel}格1
      \stopxcell
      \startxcell  行\low{\recurselevel}格2
      \stopxcell
      \startxcell  行\low{\recurselevel}格3
      \stopxcell
      \startxcell  行\low{\recurselevel}格4
      \stopxcell
    \stopxrow
  }

  \stopxtable
\stopplacefloat

\stoptext
